﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000993 RID: 2451
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JBJMNMFPLPH : IMessage<JBJMNMFPLPH>, IMessage, IEquatable<JBJMNMFPLPH>, IDeepCloneable<JBJMNMFPLPH>, IBufferMessage
	{
		// Token: 0x17001F09 RID: 7945
		// (get) Token: 0x06006E05 RID: 28165 RVA: 0x00126B45 File Offset: 0x00124D45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JBJMNMFPLPH> Parser
		{
			get
			{
				return JBJMNMFPLPH._parser;
			}
		}

		// Token: 0x17001F0A RID: 7946
		// (get) Token: 0x06006E06 RID: 28166 RVA: 0x00126B4C File Offset: 0x00124D4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JBJMNMFPLPHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F0B RID: 7947
		// (get) Token: 0x06006E07 RID: 28167 RVA: 0x00126B5E File Offset: 0x00124D5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JBJMNMFPLPH.Descriptor;
			}
		}

		// Token: 0x06006E08 RID: 28168 RVA: 0x00126B65 File Offset: 0x00124D65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JBJMNMFPLPH()
		{
		}

		// Token: 0x06006E09 RID: 28169 RVA: 0x00126B78 File Offset: 0x00124D78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JBJMNMFPLPH(JBJMNMFPLPH other) : this()
		{
			this.costTime_ = other.costTime_;
			this.mapId_ = other.mapId_;
			this.cGFNPHJCNJG_ = other.cGFNPHJCNJG_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006E0A RID: 28170 RVA: 0x00126BC5 File Offset: 0x00124DC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JBJMNMFPLPH Clone()
		{
			return new JBJMNMFPLPH(this);
		}

		// Token: 0x17001F0C RID: 7948
		// (get) Token: 0x06006E0B RID: 28171 RVA: 0x00126BCD File Offset: 0x00124DCD
		// (set) Token: 0x06006E0C RID: 28172 RVA: 0x00126BD5 File Offset: 0x00124DD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CostTime
		{
			get
			{
				return this.costTime_;
			}
			set
			{
				this.costTime_ = value;
			}
		}

		// Token: 0x17001F0D RID: 7949
		// (get) Token: 0x06006E0D RID: 28173 RVA: 0x00126BDE File Offset: 0x00124DDE
		// (set) Token: 0x06006E0E RID: 28174 RVA: 0x00126BE6 File Offset: 0x00124DE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x17001F0E RID: 7950
		// (get) Token: 0x06006E0F RID: 28175 RVA: 0x00126BEF File Offset: 0x00124DEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<KNGAKDFFPAC> CGFNPHJCNJG
		{
			get
			{
				return this.cGFNPHJCNJG_;
			}
		}

		// Token: 0x06006E10 RID: 28176 RVA: 0x00126BF7 File Offset: 0x00124DF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JBJMNMFPLPH);
		}

		// Token: 0x06006E11 RID: 28177 RVA: 0x00126C08 File Offset: 0x00124E08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JBJMNMFPLPH other)
		{
			return other != null && (other == this || (this.CostTime == other.CostTime && this.MapId == other.MapId && this.cGFNPHJCNJG_.Equals(other.cGFNPHJCNJG_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006E12 RID: 28178 RVA: 0x00126C68 File Offset: 0x00124E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CostTime != 0U)
			{
				num ^= this.CostTime.GetHashCode();
			}
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			num ^= this.cGFNPHJCNJG_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006E13 RID: 28179 RVA: 0x00126CCE File Offset: 0x00124ECE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006E14 RID: 28180 RVA: 0x00126CD6 File Offset: 0x00124ED6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006E15 RID: 28181 RVA: 0x00126CE0 File Offset: 0x00124EE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.cGFNPHJCNJG_.WriteTo(ref output, JBJMNMFPLPH._repeated_cGFNPHJCNJG_codec);
			if (this.CostTime != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.CostTime);
			}
			if (this.MapId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.MapId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006E16 RID: 28182 RVA: 0x00126D4C File Offset: 0x00124F4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CostTime != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CostTime);
			}
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			num += this.cGFNPHJCNJG_.CalculateSize(JBJMNMFPLPH._repeated_cGFNPHJCNJG_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006E17 RID: 28183 RVA: 0x00126DB8 File Offset: 0x00124FB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JBJMNMFPLPH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CostTime != 0U)
			{
				this.CostTime = other.CostTime;
			}
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			this.cGFNPHJCNJG_.Add(other.cGFNPHJCNJG_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006E18 RID: 28184 RVA: 0x00126E19 File Offset: 0x00125019
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006E19 RID: 28185 RVA: 0x00126E24 File Offset: 0x00125024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 48U)
					{
						if (num != 56U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.MapId = input.ReadUInt32();
						}
					}
					else
					{
						this.CostTime = input.ReadUInt32();
					}
				}
				else
				{
					this.cGFNPHJCNJG_.AddEntriesFrom(ref input, JBJMNMFPLPH._repeated_cGFNPHJCNJG_codec);
				}
			}
		}

		// Token: 0x040029E3 RID: 10723
		private static readonly MessageParser<JBJMNMFPLPH> _parser = new MessageParser<JBJMNMFPLPH>(() => new JBJMNMFPLPH());

		// Token: 0x040029E4 RID: 10724
		private UnknownFieldSet _unknownFields;

		// Token: 0x040029E5 RID: 10725
		public const int CostTimeFieldNumber = 6;

		// Token: 0x040029E6 RID: 10726
		private uint costTime_;

		// Token: 0x040029E7 RID: 10727
		public const int MapIdFieldNumber = 7;

		// Token: 0x040029E8 RID: 10728
		private uint mapId_;

		// Token: 0x040029E9 RID: 10729
		public const int CGFNPHJCNJGFieldNumber = 5;

		// Token: 0x040029EA RID: 10730
		private static readonly FieldCodec<KNGAKDFFPAC> _repeated_cGFNPHJCNJG_codec = FieldCodec.ForMessage<KNGAKDFFPAC>(42U, KNGAKDFFPAC.Parser);

		// Token: 0x040029EB RID: 10731
		private readonly RepeatedField<KNGAKDFFPAC> cGFNPHJCNJG_ = new RepeatedField<KNGAKDFFPAC>();
	}
}
